.class Lcom/estrongs/android/ui/dialog/q$o;
.super Landroid/widget/BaseAdapter;
.source "CommonAlertDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/ui/dialog/q;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "o"
.end annotation


# instance fields
.field protected a:Landroid/content/Context;

.field protected b:[Ljava/lang/CharSequence;

.field protected c:[Landroid/graphics/drawable/Drawable;

.field protected d:I

.field protected e:[Z

.field final synthetic f:Lcom/estrongs/android/ui/dialog/q;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/ui/dialog/q;Landroid/content/Context;[Landroid/graphics/drawable/Drawable;[Ljava/lang/CharSequence;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/q$o;->f:Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 2
    iput-object p2, p0, Lcom/estrongs/android/ui/dialog/q$o;->a:Landroid/content/Context;

    .line 3
    iput-object p3, p0, Lcom/estrongs/android/ui/dialog/q$o;->c:[Landroid/graphics/drawable/Drawable;

    .line 4
    iput-object p4, p0, Lcom/estrongs/android/ui/dialog/q$o;->b:[Ljava/lang/CharSequence;

    .line 5
    iput p5, p0, Lcom/estrongs/android/ui/dialog/q$o;->d:I

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/android/ui/dialog/q;Landroid/content/Context;[Landroid/graphics/drawable/Drawable;[Ljava/lang/CharSequence;[Z)V
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/q$o;->f:Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 7
    iput-object p2, p0, Lcom/estrongs/android/ui/dialog/q$o;->a:Landroid/content/Context;

    .line 8
    iput-object p3, p0, Lcom/estrongs/android/ui/dialog/q$o;->c:[Landroid/graphics/drawable/Drawable;

    .line 9
    iput-object p4, p0, Lcom/estrongs/android/ui/dialog/q$o;->b:[Ljava/lang/CharSequence;

    .line 10
    iput-object p5, p0, Lcom/estrongs/android/ui/dialog/q$o;->e:[Z

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/ui/dialog/q$o;->d:I

    return-void
.end method

.method public getCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q$o;->b:[Ljava/lang/CharSequence;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 2
    :cond_0
    array-length v0, v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 5

    if-nez p2, :cond_0

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/q$o;->a:Landroid/content/Context;

    invoke-static {p2}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const p3, 0x7f0c01bf

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p2, p3, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    :cond_0
    const p3, 0x7f090240

    .line 3
    invoke-virtual {p2, p3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p3

    check-cast p3, Landroid/widget/ImageView;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q$o;->c:[Landroid/graphics/drawable/Drawable;

    const/16 v1, 0x8

    const/4 v2, 0x0

    if-nez v0, :cond_1

    .line 5
    invoke-virtual {p3, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    .line 6
    :cond_1
    invoke-virtual {p3, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q$o;->c:[Landroid/graphics/drawable/Drawable;

    aget-object v0, v0, p1

    invoke-virtual {p3, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    const v0, 0x7f090242

    .line 8
    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 9
    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/q$o;->b:[Ljava/lang/CharSequence;

    aget-object v3, v3, p1

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v3, 0x7f090241

    .line 10
    invoke-virtual {p2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/RadioButton;

    .line 11
    iget-object v4, p0, Lcom/estrongs/android/ui/dialog/q$o;->f:Lcom/estrongs/android/ui/dialog/q;

    invoke-static {v4}, Lcom/estrongs/android/ui/dialog/q;->access$500(Lcom/estrongs/android/ui/dialog/q;)Z

    move-result v4

    if-nez v4, :cond_2

    .line 12
    invoke-virtual {v3, v1}, Landroid/widget/RadioButton;->setVisibility(I)V

    .line 13
    :cond_2
    iget v1, p0, Lcom/estrongs/android/ui/dialog/q$o;->d:I

    if-ne v1, p1, :cond_3

    const/4 v2, 0x1

    :cond_3
    invoke-virtual {v3, v2}, Landroid/widget/RadioButton;->setChecked(Z)V

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/q$o;->f:Lcom/estrongs/android/ui/dialog/q;

    iget-boolean p1, p1, Lcom/estrongs/android/ui/dialog/q;->itemsEnable:Z

    if-eqz p1, :cond_4

    const/16 p1, 0xff

    .line 15
    invoke-virtual {p3, p1}, Landroid/widget/ImageView;->setAlpha(I)V

    .line 16
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const p3, 0x7f060294

    invoke-virtual {p1, p3}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1

    :cond_4
    const/16 p1, 0x80

    .line 17
    invoke-virtual {p3, p1}, Landroid/widget/ImageView;->setAlpha(I)V

    const p1, -0x777778

    .line 18
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    return-object p2
.end method
